package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商家关联菜单对象 menu_goods
 * .
 * @author ruoyi
 * @date 2025-09-17
 */
public class MenuGoods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 菜单id */
    private Long menuId;

    /** 商品id */
    @Excel(name = "商品id")
    private Long goodsId;

    public void setMenuId(Long menuId)
    {
        this.menuId = menuId;
    }

    public Long getMenuId()
    {
        return menuId;
    }

    public void setGoodsId(Long goodsId)
    {
        this.goodsId = goodsId;
    }

    public Long getGoodsId()
    {
        return goodsId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("menuId", getMenuId())
            .append("goodsId", getGoodsId())
            .toString();
    }
}
